﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Windows.Input;

namespace WCYCReader.UserControls
{
    public partial class ReaderPageBottomControl : UserControl
    {


        public ReaderPageBottomControl()
        {
            this.InitializeComponent();
        }

        private void Background_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            this.PopupBottomPanel(ReaderPageMenuPanel.RBackgroundPanel);
        }

        private void Bright_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            this.PopupBottomPanel(ReaderPageMenuPanel.RBrightPanel);
        }

        private void Font_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            this.PopupBottomPanel(ReaderPageMenuPanel.RFontPanel);
        }


        private void Progress_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            this.PopupBottomPanel(ReaderPageMenuPanel.RProgressPanel);
        }
    }
}
